import request from '@/utils/request'

// 查询参数列表
export function getSfTerminationList(query) {
  return request({
    url: '/house/sf-termination/getSfTerminationList',
    method: 'get',
    params: query
  })
}

// 收房合同查询
export function selectSfContract(query) {
  return request({
    url: '/house/sf-contract/selectSfContract',
    method: 'get',
    params: query
  })
}

//根据id查询合同
export function selectSfById(id) {
  return request({
    url: '/house/sf-contract/selectSfById?id='+id,
    method: 'get',
  })
}

//解约协议录入
export function addSfTermination(data) {
  return request({
    url: '/house/sf-termination/addSfTermination',
    method: 'post',
    data:data,
  })
}
